package top.zywork.vo.activiti;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Activiti的Task值对象<br/>
 * 创建于2019-02-14<br/>
 *
 * @author 王振宇
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ActivitiTaskVO {

    private String id;
    private String owner;
    private String name;
    private String assignee;
    private String originalAssignee;
    private String parentTaskId;
    private String executionId;
    private String processInstanceId;
    private String taskDefinitionKey;
    private String formKey;
    private String tenantId;
    private String description;
    private Integer priority;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dueDate;
    private Integer revision;

}
